package com.es.www;

/**
 * @Created by michangtao
 * @Date 2022/5/19 14:58
 * @Description
 */
public abstract class CoffeeDecorator implements ICoffee{

    private ICoffee coffee;

    public CoffeeDecorator(ICoffee coffee) {
        this.coffee = coffee;
    }

    @Override
    public void makeCoffee() {
        coffee.makeCoffee();
    }
}
